package com.qfedu.service01.config;

import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Author lcw
 * @Description  弄查询回来的页数 总数的
 * @Date 2022/6/30
 */
@Configuration
public class MyBaitsPlusConfig {

    @Bean
    public PaginationInterceptor paginationInterceptor() {

        return  new PaginationInterceptor();
    }

}
